home *** CD-ROM | disk | FTP | other *** search
/ GameStar Special 2004 September / GSSH0904CD2.iso / Doom3 / Q3toD3 / Q3toD3 GUI.msi / Instal01.cab / _23A7B1199AC74CE4A9CD2D4D29A5E057 < prev    next >
Text File  |  2004-08-10  |  23KB  |  1,339 lines

  1. textures/REGION
  2. {
  3.     surfaceparm nolightmap
  4. }
  5.  
  6. // the background for the netgraph
  7. lagometer
  8. {
  9.     nopicmip
  10.     {
  11.         map gfx/2d/lag.tga
  12.     }
  13. }
  14.  
  15. // blinked on top of lagometer when connection is interrupted
  16. disconnected
  17. {
  18.     nopicmip
  19.     {
  20.         map gfx/2d/net.tga
  21.     }
  22. }
  23.  
  24. white
  25. {
  26.     {
  27.         map *white
  28.         blendfunc    GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  29.         rgbgen vertex
  30.     }
  31. }
  32.  
  33. console
  34. {
  35.     nopicmip
  36.     nomipmaps
  37.     
  38.         {
  39.         map gfx/misc/console01.tga
  40.                 blendFunc GL_ONE GL_ZERO
  41.                 tcMod scroll .02  0
  42.                 tcmod scale 2 1
  43.     }
  44.         {
  45.                 map gfx/misc/console02.tga
  46.                 //map textures/sfx/firegorre3.tga
  47.                 blendFunc add
  48.                 tcMod turb 0 .1 0 .1
  49.                 tcMod scale 2 1
  50.                 tcmod scroll 0.2  .1
  51.     } 
  52.  
  53. }
  54.  
  55. menuback
  56. {
  57.     nopicmip
  58.     nomipmaps
  59.         //{
  60.         //        map textures/sfx/logo512.tga
  61.         //}
  62.  
  63.         //{
  64.         //        map textures/sfx/specular.tga
  65.          //       //blendfunc add
  66.         //        tcMod turb 0 .8 0 .2
  67.         //        tcmod scroll -.1  -.2
  68.     //} 
  69.          {
  70.                 map textures/sfx/logo512.tga
  71.                 // blendFunc blend
  72.                 rgbgen identity
  73.         }
  74.         //{
  75.     //    map textures/sfx/proto_zzzdrk.tga
  76.         //        blendFunc add
  77.         //        tcMod turb 0 .1 0 .9
  78.         //         tcmod scale .2 .2
  79.         //         tcMod scroll .02  0.7
  80.         //         rgbgen identity
  81.     //} 
  82.         
  83. }
  84. menubacknologo
  85. {
  86.     nopicmip
  87.     nomipmaps
  88.        
  89.         {
  90.                map gfx/colors/black.tga
  91.            //map textures/sfx/proto_zzzdrk.tga
  92.                // tcMod turb 0 .1 0 .9
  93.                // tcmod scale .2 .2
  94.                // tcMod scroll .02  0.7
  95.     } 
  96.         
  97. }
  98.  
  99. menubackRagePro    // blends turn to shit on rage pro, so skip it
  100. {
  101.     nopicmip
  102.     nomipmaps
  103.         {
  104.                 map textures/sfx/logo512.tga
  105.         }
  106.         
  107. }
  108.  
  109.  
  110. levelShotDetail
  111. // used to break up the blur on levelshots
  112. {
  113.     nopicmip
  114.     {
  115.         map textures/sfx/detail.tga
  116.         blendFunc GL_DST_COLOR GL_SRC_COLOR
  117.         rgbgen identity
  118.     }
  119. }
  120.  
  121. //
  122. // special effects as seen on players
  123. //
  124. powerups/battleSuit
  125. {
  126.     deformVertexes wave 100 sin 1 0 0 0
  127.     {
  128.         map textures/effects/envmapgold2.tga
  129.                 //map textures/sfx/specular.tga
  130.         tcGen environment
  131.         tcMod turb 0 0.15 0 0.3
  132.                 tcmod rotate 333
  133.                 tcmod scroll .3 .3
  134.         blendfunc GL_ONE GL_ONE
  135.     }
  136. }
  137. powerups/battleWeapon
  138. {
  139.     deformVertexes wave 100 sin 0.5 0 0 0
  140.     {
  141.         map textures/effects/envmapgold2.tga
  142.                 //map textures/sfx/specular.tga
  143.         tcGen environment
  144.         tcMod turb 0 0.15 0 0.3
  145.                 tcmod rotate 333
  146.                 tcmod scroll .3 .3
  147.         blendfunc GL_ONE GL_ONE
  148.     }
  149. }
  150.  
  151. powerups/invisibility
  152. {
  153.     {
  154.         map textures/effects/invismap.tga
  155.                 //map textures/sfx/specular.tga
  156.         blendfunc GL_ONE GL_ONE
  157.         tcMod turb 0 0.15 0 0.25
  158.         tcGen environment
  159.     }
  160. }
  161. powerups/quad
  162. {
  163.     deformVertexes wave 100 sin 3 0 0 0
  164.     {
  165.         map textures/effects/quadmap2.tga
  166.         blendfunc GL_ONE GL_ONE
  167.         tcGen environment
  168.                 tcmod rotate 30
  169.         //tcMod turb 0 0.2 0 .2
  170.                 tcmod scroll 1 .1
  171.     }
  172. }
  173. powerups/quadWeapon
  174. {
  175.     deformVertexes wave 100 sin 0.5 0 0 0
  176.     {
  177.         map textures/effects/quadmap2.tga
  178.         blendfunc GL_ONE GL_ONE
  179.         tcGen environment
  180.                 tcmod rotate 30
  181.         //tcMod turb 0 0.2 0 .2
  182.                 tcmod scroll 1 .1
  183.     }
  184. }
  185. powerups/regen
  186. {
  187.     deformVertexes wave 100 sin 3 0 0 0
  188.     {
  189.         map textures/effects/regenmap2.tga
  190.         blendfunc GL_ONE GL_ONE
  191.         tcGen environment
  192.                 tcmod rotate 30
  193.         //tcMod turb 0 0.2 0 .2
  194.                 tcmod scroll 1 .1
  195.     }
  196. }
  197.  
  198.  
  199. //=========================
  200.  
  201. //
  202. // holdable item icons
  203. //
  204. icons/teleporter
  205. {
  206.     nopicmip
  207.     {
  208.         map icons/teleporter.tga
  209.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  210.     }
  211. }
  212. icons/medkit
  213. {
  214.     nopicmip
  215.     {
  216.         map icons/medkit.tga
  217.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  218.     }
  219. }
  220.  
  221. //
  222. // powerup icons
  223. //
  224. icons/envirosuit
  225. {
  226.     nopicmip
  227.     {
  228.         map icons/envirosuit.tga
  229.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  230.     }
  231. }
  232. icons/quad
  233. {
  234.     nopicmip
  235.     {
  236.         map icons/quad.tga
  237.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  238.     }
  239. }
  240. icons/haste
  241. {
  242.     nopicmip
  243.     {
  244.         map icons/haste.tga
  245.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  246.     }
  247. }
  248. icons/invis
  249. {
  250.     nopicmip
  251.     {
  252.         map icons/invis.tga
  253.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  254.     }
  255. }
  256. icons/regen
  257. {
  258.     nopicmip
  259.     {
  260.         map icons/regen.tga
  261.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  262.     }
  263. }
  264. icons/flight
  265. {
  266.     nopicmip
  267.     {
  268.         map icons/flight.tga
  269.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  270.     }
  271. }
  272.  
  273.  
  274. // reward medals used in the game floating over client's heads
  275. medal_impressive
  276. {
  277.     nopicmip
  278.     {
  279.         clampmap menu/medals/medal_impressive.tga
  280.         blendFunc blend
  281.     }
  282. }
  283.  
  284. medal_excellent
  285. {
  286.     nopicmip
  287.     {
  288.         clampmap menu/medals/medal_excellent.tga
  289.         blendFunc blend
  290.     }
  291. }
  292.  
  293. medal_gauntlet
  294. {
  295.     nopicmip
  296.     {
  297.         clampmap menu/medals/medal_gauntlet.tga
  298.         blendFunc blend
  299.     }
  300. }
  301.  
  302.  
  303. //
  304. // weapon icons
  305. //
  306. icons/iconw_gauntlet
  307. {
  308.     nopicmip
  309.     {
  310.         map icons/iconw_gauntlet.tga
  311.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  312.     }
  313. }
  314. icons/iconw_machinegun
  315. {
  316.     nopicmip
  317.     {
  318.         map icons/iconw_machinegun.tga
  319.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  320.     }
  321. }
  322. icons/iconw_rocket
  323. {
  324.     nopicmip
  325.     {
  326.         map icons/iconw_rocket.tga
  327.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  328.     }
  329. }
  330.  
  331. icons/iconw_shotgun
  332. {
  333.     nopicmip
  334.     {
  335.         map icons/iconw_shotgun.tga
  336.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  337.         rgbgen identitylighting
  338.     }
  339. }
  340.  
  341. icons/iconw_grenade
  342. {
  343.     nopicmip
  344.     {
  345.         map icons/iconw_grenade.tga
  346.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  347.     }
  348. }
  349.  
  350. icons/iconw_lightning
  351. {
  352.     nopicmip
  353.     {
  354.         map icons/iconw_lightning.tga
  355.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  356.     }
  357. }
  358.  
  359. icons/iconw_plasma
  360. {
  361.     nopicmip
  362.     {
  363.         map icons/iconw_plasma.tga
  364.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  365.     }
  366. }
  367.  
  368. icons/iconw_railgun
  369. {
  370.     nopicmip
  371.     {
  372.         map icons/iconw_railgun.tga
  373.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  374.     }
  375. }
  376.  
  377. icons/iconw_bfg
  378. {
  379.     nopicmip
  380.     {
  381.         map icons/iconw_bfg.tga
  382.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  383.     }
  384. }
  385.  
  386. icons/iconw_grapple
  387. {
  388.     nopicmip
  389.     {
  390.         map icons/iconw_grapple.tga
  391.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  392.     }
  393. }
  394.  
  395. //
  396. // ammo icons
  397. //
  398. icons/icona_machinegun
  399. {
  400.     nopicmip
  401.     {
  402.         map icons/icona_machinegun.tga
  403.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  404.     }
  405. }
  406. icons/icona_rocket
  407. {
  408.     nopicmip
  409.     {
  410.         map icons/icona_rocket.tga
  411.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  412.     }
  413. }
  414.  
  415. icons/icona_shotgun
  416. {
  417.     nopicmip
  418.     {
  419.         map icons/icona_shotgun.tga
  420.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  421.         rgbgen identitylighting
  422.     }
  423. }
  424.  
  425. icons/icona_grenade
  426. {
  427.     nopicmip
  428.     {
  429.         map icons/icona_grenade.tga
  430.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  431.     }
  432. }
  433.  
  434. icons/icona_lightning
  435. {
  436.     nopicmip
  437.     {
  438.         map icons/icona_lightning.tga
  439.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  440.     }
  441. }
  442.  
  443. icons/icona_plasma
  444. {
  445.     nopicmip
  446.     {
  447.         map icons/icona_plasma.tga
  448.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  449.     }
  450. }
  451.  
  452. icons/icona_railgun
  453. {
  454.     nopicmip
  455.     {
  456.         map icons/icona_railgun.tga
  457.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  458.     }
  459. }
  460.  
  461. icons/icona_bfg
  462. {
  463.     nopicmip
  464.     {
  465.         map icons/icona_bfg.tga
  466.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  467.     }
  468. }
  469.  
  470.  
  471. //
  472. // armor icons
  473. //
  474. icons/iconr_shard
  475. {
  476.     nopicmip
  477.     {
  478.         map icons/iconr_shard.tga
  479.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  480.     }
  481. }
  482.  
  483. icons/iconr_yellow
  484. {
  485.     nopicmip
  486.     {
  487.         map icons/iconr_yellow.tga
  488.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  489.     }
  490. }
  491.  
  492. icons/iconr_red
  493. {
  494.     nopicmip
  495.     {
  496.         map icons/iconr_red.tga
  497.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  498.     }
  499. }
  500.  
  501. //
  502. // health icons
  503. //
  504. icons/iconh_green
  505. {
  506.     nopicmip
  507.     {
  508.         map icons/iconh_green.tga
  509.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  510.     }
  511. }
  512.  
  513. icons/iconh_yellow
  514. {
  515.     nopicmip
  516.     {
  517.         map icons/iconh_yellow.tga
  518.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  519.     }
  520. }
  521.  
  522. icons/iconh_red
  523. {
  524.     nopicmip
  525.     {
  526.         map icons/iconh_red.tga
  527.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  528.     }
  529.         //{
  530.     //    clampmap icons/iconh_red2.tga
  531.     //    blendFunc blend
  532.         //        tcMod stretch sin .04 1 0 1
  533.     //}
  534. }
  535.  
  536. icons/iconh_mega
  537. {
  538.     nopicmip
  539.     {
  540.         map icons/iconh_mega.tga
  541.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  542.     }
  543. }
  544.  
  545. //
  546. // CTF icons
  547. //
  548. icons/iconf_red
  549. {
  550.     nopicmip
  551.     {
  552.         map icons/iconf_red.tga
  553.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  554.     }
  555. }
  556.  
  557. icons/iconf_blu
  558. {
  559.     nopicmip
  560.     {
  561.         map icons/iconf_blu.tga
  562.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  563.     }
  564. }
  565.  
  566.  
  567. //===================================================
  568.  
  569. gfx/2d/menuinfo
  570. {
  571.     nopicmip
  572.     {
  573.         map gfx/2d/menuinfo.tga
  574.     }
  575. }
  576.  
  577. gfx/2d/menuinfo2
  578. {
  579.     nopicmip
  580.     {
  581.         map gfx/2d/menuinfo2.tga
  582.     }
  583. }
  584.  
  585. gfx/2d/quit
  586. {
  587.     nopicmip
  588.     nomipmaps
  589.     {
  590.         map gfx/2d/quit.tga
  591.     }
  592. }
  593.  
  594. gfx/2d/cursor
  595. {
  596.     nopicmip
  597.     nomipmaps
  598.     {
  599.         map gfx/2d/cursor.tga
  600.     }
  601. }
  602.  
  603. //==========================================================================
  604.  
  605.  
  606. sprites/balloon3
  607. {
  608.     {
  609.         map sprites/balloon4.tga
  610.         blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  611.     }
  612. }
  613.  
  614. // this is an example of a crossfaded animation cycle
  615. textures/animationTest
  616. {
  617.     qer_editorimage    textures/liquids/bloodwater1.tga
  618.     {
  619.         animMap 0.5 textures/liquids/bloodwater1.tga textures/liquids/pool.tga textures/liquids/slime7.tga
  620.     }    
  621.     {
  622.         animMap 0.5 textures/liquids/pool.tga textures/liquids/slime7.tga textures/liquids/bloodwater1.tga
  623.         blendFunc    GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  624.         alphaGen    wave sawtooth 0 1 0 0.5
  625.     }    
  626.     {
  627.         map $lightmap
  628.         blendFunc GL_DST_COLOR GL_ZERO
  629.     }
  630. }
  631.  
  632. teleportEffect
  633. {
  634.     cull none
  635.     {
  636.         map gfx/misc/teleportEffect2.tga
  637.                 blendFunc GL_ONE GL_ONE
  638.         rgbGen entity
  639.         tcMod scale 1 4
  640.         tcMod scroll 0 2
  641.     }
  642. }
  643.  
  644. // markShadow is the very cheap blurry blob underneat the player
  645. markShadow
  646. {
  647.     polygonOffset
  648.     {
  649.         map gfx/damage/shadow.tga
  650.         blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  651.         rgbGen exactVertex
  652.     }    
  653. }
  654.  
  655. // projectionShadow is used for cheap squashed model shadows
  656. projectionShadow
  657. {
  658.     polygonOffset
  659.     deformVertexes projectionShadow
  660.     {
  661.         map            *white
  662.         blendFunc GL_ONE GL_ZERO
  663.         rgbGen wave square 0 0 0 0                // just solid black
  664.     }    
  665. }
  666.  
  667.  
  668. // wake is the mark on water surfaces for paddling players
  669. wake
  670. {
  671.     {
  672.         clampmap sprites/splash.tga
  673.         blendFunc GL_ONE GL_ONE
  674.         rgbGen vertex
  675.                 tcmod rotate 250
  676.                 tcMod stretch sin .9 0.1 0 0.7
  677.         rgbGen wave sin .7 .3 .25 .5
  678.     }    
  679.         {
  680.         clampmap sprites/splash.tga
  681.         blendFunc GL_ONE GL_ONE
  682.         rgbGen vertex
  683.                 tcmod rotate -230
  684.                 tcMod stretch sin .9 0.05 0 0.9
  685.         rgbGen wave sin .7 .3 .25 .4
  686.     }    
  687. }
  688.  
  689.  
  690. // viewBloodBlend gives the blended directional cue when you get hit
  691. viewBloodBlend
  692. {
  693.     sort    nearest
  694.     {
  695.         //map models/weaphits/blood201.tga
  696.                 map gfx/damage/blood_screen.tga
  697.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  698.         rgbGen identityLighting
  699.         alphaGen vertex
  700.     }
  701. }
  702.  
  703. waterBubble
  704. {
  705.     sort    underwater
  706.     cull none
  707.     entityMergable        // allow all the sprites to be merged together
  708.     {
  709.         map sprites/bubble.tga
  710.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  711.         rgbGen        vertex
  712.         alphaGen    vertex
  713.     }
  714. }
  715.  
  716. smokePuff
  717. {
  718.     cull none
  719.     entityMergable        // allow all the sprites to be merged together
  720.     {
  721.         map gfx/misc/smokepuff3.tga
  722.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  723.         rgbGen        vertex
  724.         alphaGen    vertex
  725.     }
  726. }
  727.  
  728. hasteSmokePuff            // drops behind player's feet when speeded
  729. {
  730.     cull none
  731.     entityMergable        // allow all the sprites to be merged together
  732.     {
  733.         map gfx/misc/smokepuff3.tga
  734.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  735.                 //blendfunc GL_ONE GL_ONE
  736.         rgbGen        vertex
  737.         alphaGen    vertex
  738.     }
  739. }
  740.  
  741. smokePuffRagePro
  742. {
  743.     cull none
  744.     entityMergable        // allow all the sprites to be merged together
  745.     {
  746.         map gfx/misc/smokepuffragepro.tga
  747.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  748.     }
  749. }
  750.  
  751. shotgunSmokePuff
  752. {
  753.     cull none
  754.     {
  755.         map gfx/misc/smokepuff2b.tga
  756.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  757.         alphaGen entity        
  758.         rgbGen entity
  759.     }
  760. }
  761.  
  762. flareShader
  763. {
  764.     cull none
  765.     {
  766.         map gfx/misc/flare.tga
  767.         blendFunc GL_ONE GL_ONE
  768.         rgbGen vertex
  769.     }
  770. }
  771. sun
  772. {
  773.     cull none
  774.     {
  775.         map gfx/misc/sun.tga
  776.         blendFunc GL_ONE GL_ONE
  777.         rgbGen vertex
  778.     }
  779. }
  780. railDisc
  781. {
  782.     sort nearest
  783.     cull none
  784.         deformVertexes wave 100 sin 0 .5 0 2.4
  785.     {
  786.         clampmap gfx/misc/raildisc_mono2.tga 
  787.         blendFunc GL_ONE GL_ONE
  788.         rgbGen vertex
  789.                  tcMod rotate -30
  790.     }
  791. }
  792.  
  793. railCore
  794. {
  795.     sort nearest
  796.     cull none
  797.     {
  798.         map gfx/misc/railcorethin_mono.tga
  799.         blendFunc GL_ONE GL_ONE
  800.         rgbGen vertex
  801.         tcMod scroll -1 0
  802.     }
  803. }
  804.  
  805. lightningBolt
  806. {
  807.     cull none
  808.     {
  809.         map gfx/misc/lightning3.tga
  810.         blendFunc GL_ONE GL_ONE
  811. //                rgbgen wave sin 1 5.1 0 7.1
  812.                 rgbgen wave sin 1 0.5 0 7.1
  813.                  tcmod scale  2 1
  814.         tcMod scroll -5 0
  815.     }
  816.     {
  817.         map gfx/misc/lightning3.tga
  818.         blendFunc GL_ONE GL_ONE
  819. //                rgbgen wave sin 1 8.3 0 8.1
  820.                 rgbgen wave sin 1 0.8 0 8.1
  821.                 tcmod scale  -1.3 -1
  822.         tcMod scroll -7.2 0
  823.     }
  824. }
  825.  
  826. // shader used on the occasional machinegun bullet tracers
  827. gfx/misc/tracer
  828. {
  829.     cull none
  830.     {
  831.         map    gfx/misc/tracer2.tga
  832.         blendFunc GL_ONE GL_ONE
  833.     }
  834. }
  835.  
  836. //
  837. // wall marks
  838. // use blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR so that
  839. // their "contribution" can be damped down in fog volumes
  840. // with distance
  841. bloodMark
  842. {
  843.     nopicmip            // make sure a border remains
  844.     polygonOffset
  845.     {
  846.         clampmap gfx/damage/blood_stain.tga
  847.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  848.         rgbGen identityLighting
  849.         alphaGen vertex
  850.     }
  851. }
  852.  
  853. bloodTrail
  854. {
  855.         
  856.     nopicmip            // make sure a border remains
  857.     entityMergable        // allow all the sprites to be merged together
  858.     {
  859.         //clampmap gfx/misc/blood.tga
  860.                 clampmap gfx/damage/blood_spurt.tga
  861.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  862.         rgbGen        vertex
  863.         alphaGen    vertex
  864.     }
  865. }
  866.  
  867. gfx/damage/bullet_mrk
  868. {
  869.     polygonOffset
  870.     {
  871.         map gfx/damage/bullet_mrk.tga
  872.         blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  873.         rgbGen exactVertex
  874.     }
  875. }
  876. gfx/damage/burn_med_mrk
  877. {
  878.     polygonOffset
  879.     {
  880.         map gfx/damage/burn_med_mrk.tga
  881.         blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  882.         rgbGen exactVertex
  883.     }
  884. }
  885. gfx/damage/hole_lg_mrk
  886. {
  887.     polygonOffset
  888.     {
  889.         map gfx/damage/hole_lg_mrk.tga
  890.         blendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
  891.         rgbGen exactVertex
  892.     }
  893. }
  894. gfx/damage/plasma_mrk
  895. {
  896.     polygonOffset
  897.     {
  898.         map gfx/damage/plasma_mrk.tga
  899.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  900.         rgbGen vertex
  901.         alphaGen vertex
  902.     }
  903. }
  904.  
  905.  
  906. //===============================================================
  907.  
  908. // scoreboard header tabs
  909.  
  910. scoreboardName
  911. {
  912.     nopicmip
  913.     nomipmaps
  914.     {
  915.         clampmap menu/tab/name.tga
  916.         blendfunc blend
  917.     }
  918. }
  919.  
  920. scoreboardScore
  921. {
  922.     nopicmip
  923.     nomipmaps
  924.     {
  925.         clampmap menu/tab/score.tga
  926.         blendfunc blend
  927.     }
  928. }
  929.  
  930. scoreboardTime
  931. {
  932.     nopicmip
  933.     nomipmaps
  934.     {
  935.         clampmap menu/tab/time.tga
  936.         blendfunc blend
  937.     }
  938. }
  939.  
  940. scoreboardPing
  941. {
  942.     nopicmip
  943.     nomipmaps
  944.     {
  945.         clampmap menu/tab/ping.tga
  946.         blendfunc blend
  947.     }
  948. }
  949.  
  950. //===============================================================
  951.  
  952. gfx/2d/crosshair
  953. {
  954.     nopicmip
  955.     {
  956.         map gfx/2d/crosshair.tga          
  957.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA                
  958.         rgbGen identity
  959.     }
  960. }
  961.  
  962. gfx/2d/crosshairb
  963. {
  964.     nopicmip
  965.     {
  966.         map gfx/2d/crosshairb.tga
  967.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  968.         rgbGen identity
  969.     }
  970. }
  971.  
  972. gfx/2d/crosshairc
  973. {
  974.     nopicmip
  975.     {
  976.         map gfx/2d/crosshairc.tga
  977.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  978.         rgbGen identity
  979.     }
  980. }
  981.  
  982. gfx/2d/crosshaird
  983. {
  984.     nopicmip
  985.     {
  986.         map gfx/2d/crosshaird.tga
  987.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  988.         rgbGen identity
  989.     }
  990. }
  991.  
  992. gfx/2d/crosshaire
  993. {
  994.     nopicmip
  995.     {
  996.         map gfx/2d/crosshaire.tga
  997.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  998.         rgbGen identity
  999.     }
  1000. }
  1001.  
  1002. gfx/2d/crosshairf
  1003. {
  1004.     nopicmip
  1005.     {
  1006.         map gfx/2d/crosshairf.tga
  1007.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1008.         rgbGen identity
  1009.     }
  1010. }
  1011.  
  1012. gfx/2d/crosshairg
  1013. {
  1014.     nopicmip
  1015.     {
  1016.         map gfx/2d/crosshairg.tga
  1017.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1018.         rgbGen identity
  1019.     }
  1020. }
  1021.  
  1022. gfx/2d/crosshairh
  1023. {
  1024.     nopicmip
  1025.     {
  1026.         map gfx/2d/crosshairh.tga
  1027.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1028.         rgbGen identity
  1029.     }
  1030. }
  1031.  
  1032. gfx/2d/crosshairi
  1033. {
  1034.     nopicmip
  1035.     {
  1036.         map gfx/2d/crosshairi.tga
  1037.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1038.         rgbGen identity
  1039.     }
  1040.  
  1041. }
  1042. gfx/2d/crosshairj
  1043. {
  1044.     nopicmip
  1045.     {
  1046.         map gfx/2d/crosshairj.tga       
  1047.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1048.         rgbGen identity
  1049.     }
  1050. }
  1051. gfx/2d/crosshairk
  1052. {
  1053.     nopicmip
  1054.     {
  1055.         map gfx/2d/crosshairk.tga       
  1056.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1057.         rgbGen identity
  1058.     }
  1059. }
  1060.  
  1061.  
  1062.  
  1063.  
  1064. gfx/2d/bigchars
  1065. {
  1066.     nopicmip
  1067.     nomipmaps
  1068.     {
  1069.         map gfx/2d/bigchars.tga
  1070.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1071.         rgbgen vertex
  1072.     }
  1073. }
  1074. gfx/2d/select
  1075. {
  1076.     nopicmip
  1077.     {
  1078.         map gfx/2d/select.tga
  1079.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1080.         rgbGen identity
  1081.         rgbgen vertex
  1082.     }
  1083. }
  1084.  
  1085.  
  1086. gfx/2d/assault1d
  1087. {
  1088.     nopicmip
  1089.     {
  1090.         map gfx/2d/assault1d.tga
  1091.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1092.     }
  1093. }
  1094. gfx/2d/armor1h
  1095. {
  1096.     nopicmip
  1097.     {
  1098.         map gfx/2d/armor1h.tga
  1099.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1100.     }
  1101. }
  1102. gfx/2d/health
  1103. {
  1104.     nopicmip
  1105.     {
  1106.         map gfx/2d/health.tga
  1107.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1108.     }
  1109. }
  1110. gfx/2d/blank
  1111. {
  1112.     nopicmip
  1113.     {
  1114.         map gfx/2d/blank.tga
  1115.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1116.     }
  1117. }
  1118. gfx/2d/numbers/zero_32b
  1119. {
  1120.     nopicmip
  1121.     {
  1122.         map gfx/2d/numbers/zero_32b.tga
  1123.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1124.         rgbgen vertex
  1125.     }
  1126. }
  1127. gfx/2d/numbers/one_32b
  1128. {
  1129.     nopicmip
  1130.     {
  1131.         map gfx/2d/numbers/one_32b.tga
  1132.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1133.         rgbgen vertex
  1134.     }
  1135. }
  1136. gfx/2d/numbers/two_32b
  1137. {
  1138.     nopicmip
  1139.     {
  1140.         map gfx/2d/numbers/two_32b.tga
  1141.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1142.         rgbgen vertex
  1143.     }
  1144. }
  1145. gfx/2d/numbers/three_32b
  1146. {
  1147.     nopicmip
  1148.     {
  1149.         map gfx/2d/numbers/three_32b.tga
  1150.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1151.         rgbgen vertex
  1152.     }
  1153. }
  1154. gfx/2d/numbers/four_32b
  1155. {
  1156.     nopicmip
  1157.     {
  1158.         map gfx/2d/numbers/four_32b.tga
  1159.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1160.         rgbgen vertex
  1161.     }
  1162. }
  1163. gfx/2d/numbers/five_32b
  1164. {
  1165.     nopicmip
  1166.     {
  1167.         map gfx/2d/numbers/five_32b.tga
  1168.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1169.         rgbgen vertex
  1170.     }
  1171. }
  1172. gfx/2d/numbers/six_32b
  1173. {
  1174.     nopicmip
  1175.     {
  1176.         map gfx/2d/numbers/six_32b.tga
  1177.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1178.         rgbgen vertex
  1179.     }
  1180. }
  1181. gfx/2d/numbers/seven_32b
  1182. {
  1183.     nopicmip
  1184.     {
  1185.         map gfx/2d/numbers/seven_32b.tga
  1186.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1187.         rgbgen vertex
  1188.     }
  1189. }
  1190. gfx/2d/numbers/eight_32b
  1191. {
  1192.     nopicmip
  1193.     {
  1194.         map gfx/2d/numbers/eight_32b.tga
  1195.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1196.         rgbgen vertex
  1197.     }
  1198. }
  1199. gfx/2d/numbers/nine_32b
  1200. {
  1201.     nopicmip
  1202.     {
  1203.         map gfx/2d/numbers/nine_32b.tga
  1204.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1205.         rgbgen vertex
  1206.     }
  1207. }
  1208. gfx/2d/numbers/minus_32b
  1209. {
  1210.     nopicmip
  1211.     {
  1212.         map gfx/2d/numbers/minus_32b.tga
  1213.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  1214.         rgbgen vertex
  1215.     }
  1216. }
  1217.  
  1218.  
  1219. //
  1220. // weapon hits
  1221. // All of these will be put on entities with a shaderTime offset, so they
  1222. // can be expected to start at time 0 for each separate explosion
  1223. //
  1224. // Many of these are use smoothly morphed animating textures by pairing
  1225. // sawtooth and iverse sawtooth rgbGens
  1226. plasmaExplosion
  1227. {
  1228.     cull disable
  1229.     {
  1230.         clampmap models/weaphits/plasmaboom.tga
  1231.         blendfunc add
  1232.                 tcMod stretch triangle .6 0.1 0 8
  1233.                 tcmod rotate 999
  1234.                 rgbGen wave inversesawtooth 0 1 0 1.5
  1235.     }
  1236. }
  1237.  
  1238. railExplosion
  1239. {
  1240.     cull disable
  1241.         {
  1242.         animmap 5 models/weaphits/ring02_1.tga  models/weaphits/ring02_2.tga  models/weaphits/ring02_3.tga models/weaphits/ring02_4.tga gfx/colors/black.tga
  1243.         alphaGen wave inversesawtooth 0 1 0 5
  1244.         blendfunc blend
  1245.     }
  1246.     {
  1247.         animmap 5 models/weaphits/ring02_2.tga  models/weaphits/ring02_3.tga models/weaphits/ring02_4.tga gfx/colors/black.tga gfx/colors/black.tga
  1248.         alphaGen wave sawtooth 0 1 0 5
  1249.         blendfunc blend
  1250.     }
  1251. }
  1252.  
  1253. lightningExplosion
  1254. {
  1255.     cull disable
  1256.     {
  1257.         animmap 5 models/weaphits/ring02_1.tga  models/weaphits/ring02_3.tga  models/weaphits/ring02_3.tga gfx/colors/black.tga
  1258.         rgbGen wave inversesawtooth 0 1 0 5
  1259.         blendfunc add
  1260.     }
  1261.     {
  1262.         animmap 5 models/weaphits/ring02_2.tga  models/weaphits/ring02_3.tga  gfx/colors/black.tga gfx/colors/black.tga
  1263.         rgbGen wave sawtooth 0 1 0 5
  1264.         blendfunc add
  1265.     }
  1266. }
  1267.  
  1268. bulletExplosion
  1269. {
  1270.     cull disable
  1271.     {
  1272.         animmap 5 models/weaphits/bullet1.tga  models/weaphits/bullet2.tga  models/weaphits/bullet3.tga gfx/colors/black.tga
  1273.         rgbGen wave inversesawtooth 0 1 0 5
  1274.         blendfunc add
  1275.     }
  1276.     {
  1277.         animmap 5 models/weaphits/bullet2.tga  models/weaphits/bullet3.tga  gfx/colors/black.tga gfx/colors/black.tga
  1278.         rgbGen wave sawtooth 0 1 0 5
  1279.         blendfunc add
  1280.     }
  1281. }
  1282.  
  1283. rocketExplosion
  1284. {
  1285.     cull disable
  1286.     {
  1287.         animmap 8 models/weaphits/rlboom/rlboom_1.tga  models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga
  1288.         rgbGen wave inversesawtooth 0 1 0 8
  1289.         blendfunc add
  1290.     }
  1291.     {
  1292.         animmap 8 models/weaphits/rlboom/rlboom_2.tga models/weaphits/rlboom/rlboom_3.tga models/weaphits/rlboom/rlboom_4.tga models/weaphits/rlboom/rlboom_5.tga models/weaphits/rlboom/rlboom_6.tga models/weaphits/rlboom/rlboom_7.tga models/weaphits/rlboom/rlboom_8.tga gfx/colors/black.tga
  1293.         rgbGen wave sawtooth 0 1 0 8
  1294.         blendfunc add
  1295.     }
  1296. }
  1297.  
  1298. grenadeExplosion
  1299. {
  1300.     cull disable
  1301.     {
  1302.         animmap 5 models/weaphits/glboom/glboom_1.tga  models/weaphits/glboom/glboom_2.tga models/weaphits/glboom/glboom_3.tga
  1303.         rgbGen wave inversesawtooth 0 1 0 5
  1304.         blendfunc add
  1305.     }
  1306.     {
  1307.         animmap 5 models/weaphits/glboom/glboom_2.tga  models/weaphits/glboom/glboom_3.tga gfx/colors/black.tga
  1308.         rgbGen wave sawtooth 0 1 0 5
  1309.         blendfunc add
  1310.     }
  1311. }
  1312.  
  1313. bfgExplosion
  1314. {
  1315.     cull disable
  1316.     {
  1317.         animmap 5 models/weaphits/bfgboom/bfgboom_1.tga  models/weaphits/bfgboom/bfgboom_2.tga models/weaphits/bfgboom/bfgboom_3.tga
  1318.         rgbGen wave inversesawtooth 0 1 0 5
  1319.         blendfunc add
  1320.     }
  1321.     {
  1322.         animmap 5 models/weaphits/bfgboom/bfgboom_2.tga models/weaphits/bfgboom/bfgboom_3.tga gfx/colors/black.tga
  1323.         rgbGen wave sawtooth 0 1 0 5
  1324.         blendfunc add
  1325.     }
  1326. }
  1327.  
  1328. bloodExplosion        // spurt of blood at point of impact
  1329. {
  1330.     cull disable
  1331.     {
  1332.         animmap 5 models/weaphits/blood201.tga models/weaphits/blood202.tga models/weaphits/blood203.tga models/weaphits/blood204.tga models/weaphits/blood205.tga
  1333.         blendfunc blend
  1334.     }
  1335. }
  1336.  
  1337.  
  1338.  
  1339.